using System;
using System.Runtime.InteropServices;
namespace AppToolKit.Core.Win32
{
	public class Win32Api
	{
		[DllImport("User32.dll")]
		public static extern int SendMessage(int hWnd, int Msg, int wParam, int lParam);
		[DllImport("User32.dll", EntryPoint = "SendMessage")]
		public static extern int SendTextMessage(int hWnd, int Msg, int wParam, char[] lParam);
		[DllImport("user32.dll")]
		public static extern int PostMessage(int hwnd, int wMsg, int wParam, int lParam);
		public static int HIWORD(int param)
		{
			return param >> 16;
		}
	}
}
